package com.zhaogang.springtxdemo.mapper;

import com.zhaogang.springtxdemo.entity.AccountTransaction;
import com.zhaogang.springtxdemo.entity.AccountTransactionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AccountTransactionMapper {
    int countByExample(AccountTransactionExample example);

    int insert(AccountTransaction record);

    int insertSelective(AccountTransaction record);

    List<AccountTransaction> selectByExample(AccountTransactionExample example);

    AccountTransaction selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AccountTransaction record, @Param("example") AccountTransactionExample example);

    int updateByExample(@Param("record") AccountTransaction record, @Param("example") AccountTransactionExample example);

    int updateByPrimaryKeySelective(AccountTransaction record);

    int updateByPrimaryKey(AccountTransaction record);
}